package com.itcast.tanhuaserver.service;

import com.itcast.tanhua.dubbo.server.domain.Movements;
import com.itcast.tanhua.dubbo.server.vo.PageInfo;
import com.itcast.tanhuaserver.vo.PageResult;
import com.itcast.tanhuaserver.vo.VisitorsVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @PachageName: com.itcast.tanhuaserver.service
 * @ClassName:
 * @Description: TODO
 * @Author: Hushi
 * @DateTime: 2021/2/1716:15
 * @Version 1.0
 */
public interface MovementsService {
    String savePublish(String textContent, String location, String longitude, String latitude, MultipartFile[] image, String token);

    PageResult queryPublishList(Integer page, Integer pageSize,boolean isRecommend);

    Long disLikeComment(String publishId);

    Long likeComment(String publishId);

    Long loveComment(String publishId);

    Long unloveComment(String publishId);

    Movements queryMovementsById(String publishId);

    List<VisitorsVo> queryVisitorsList();

    PageResult queryAlbumList(Integer page, Integer pageSize, Long userId);
}
